
#ifndef __SYSTEM_PARA_H__
#define __SYSTEM_PARA_H__


#include "debug.h"
#include "include_other.h"
#include "include_com.h"



#define RESERVE_SIZE     (36)

#define MAX_VOLUME_VAL   (100)
#define MIN_VOLUME_VAL   (0)


typedef enum
{
	PLAY_MODE_ALL_LOOP = 0,
	PLAY_MODE_ONE_LOOP,
	PLAY_MODE_RAND,
	PLAY_MODE_ONCES,


}play_mode_e;




typedef struct _video_para_t 
{
	char path;
	char play_mode;

	int  de_time; //ms
	int  play_index ;

	char play_path[1024];
	char reserve[RESERVE_SIZE]; 
} video_para_t;


typedef struct _photo_para_t 
{
	char path;
	char play_mode;

	int  de_time; 
	int  play_index ;

	char play_path[1024];
	char reserve[RESERVE_SIZE]; 
} photo_para_t;


typedef struct _audio_para_t 
{
	char volume;

	char reserve[RESERVE_SIZE];
} audio_para_t;



typedef struct _system_para_t 
{
	video_para_t video_para;
	photo_para_t photo_para;
	audio_para_t audio_para;

} system_para_t;






#endif
